-
Notifications
You must be signed in to change notification settings - Fork 35
Added ytop_strategy_on_delete_waiting_time_seconds prometheus metric #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ytop_strategy_on_delete_waiting_time_seconds prometheus metric #641
Conversation
e58668e to
5468914
Compare
5468914 to
0d2a84e
Compare
pkg/metrics/update_strategy.go
Outdated
| Name: "on_delete_wait_seconds", | ||
| Help: "Seconds a component has been waiting in OnDelete mode since the mode started.", | ||
| }, | ||
| []string{"cluster", "component"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's pass
"cluster_namespace"
"cluster"
"component"
"component_name" - instance group name/role for proxies and nodes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's have "cluster", "cluster_namespace" and "component_name". component_name will be either StatefulSet/Deployment short name (ms/hp) or short name with instance group name/role for proxies and nodes (default role is omitted).
example:
ytop_strategy_on_delete_waiting_time_seconds{cluster="test-ytsaurus",cluster_name
space="test-e2e-mfwbj",component_name="hp"}
ytop_strategy_on_delete_waiting_time_seconds{cluster="test-ytsaurus",cluster_name
space="test-e2e-mfwbj",component_name="hp-o11y"}
koct9i
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Effective usage would be after merging that PR